dicts.{dictId}.items.{itemId}
获取指定的数据字典项
- 请求路由:
dicts.{dictId}.items.{itemId}- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "dicts.gender.items.2"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
dictId | String | 是 | 字典标识 |
itemId | String | 是 | 字典项标识 |
返回
指定字典项
{
"tenantId" : "meten",
"dictId" : "gender",
"itemId" : "2",
"name" : "女",
"fullId" : "2",
"description" : "测试",
"disabled" : false,
"ts" : "2022-03-17T07:54:38.526Z"
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
dictId | String | 字典标识 |
itemId | String | 字典项标识 |
name | String | 字典项名称 |
parentId | String |